package com.xxl.sso.server.service;

import com.xxl.sso.core.entity.vo.req.SysCacheAddUpdateReqVO;
import com.xxl.sso.core.entity.vo.res.SysCacheResVO;
import com.xxl.sso.server.core.result.ReturnT;


public interface SysCacheService {

    public ReturnT<SysCacheResVO> findByCacheKey(String cacheKey);

    public ReturnT<Boolean> deleteByCacheKey(String cacheKey);

    public ReturnT<Boolean> addOrUpdateSysCache(SysCacheAddUpdateReqVO vo);

    public ReturnT<Boolean> deleteExpiredSysCache();
}
